package com.hhtc.jsj.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hhtc.jsj.entity.PostLike;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hhtc.jsj.request.PostLikeRequest;
import com.hhtc.jsj.request.UserRequest;

import java.util.List;

/**
 * <p>
 * 点赞表 服务类
 * </p>
 *
 * @author ty
 * @since 2022-04-07
 */
public interface PostLikeService extends IService<PostLike> {
    boolean add(PostLikeRequest postLikeRequest);
    boolean remove(PostLikeRequest postLikeRequest);
    boolean update(PostLikeRequest postLikeRequest);
    PostLikeRequest getById(PostLikeRequest postLikeRequest);
    List<PostLikeRequest> queryList(PostLikeRequest postLikeRequest);

    Page queryPage(PostLikeRequest postLikeRequest);
}
